package com.cskaoyan.mall.model.vo.goods;

import com.cskaoyan.mall.model.po.Spec;

import java.util.List;

/**
 * @ClassName: GoodVo
 * @Description: TODO
 * @Auther 庄左
 * @Date 2022/6/30 22:12
 * @Version
 **/
public class GoodVo {
    private double unitPrice;
    private String img;
    private String name;
    private int typeId;
    private int id;
    private String desc;
    private List<SpecVo> specs;

    public List<SpecVo> getSpecs() {
        return specs;
    }

    public void setSpecs(List<SpecVo> specs) {
        this.specs = specs;
    }

    public void setUnitPrice(double unitPrice) {
        this.unitPrice = unitPrice;
    }

    public void setImg(String img) {
        this.img = "http://192.168.3.19:8084/"+img;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    // public void setId(int id) {
    //     this.id = id;
    // }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public double getUnitPrice() {
        return unitPrice;
    }

    public String getImg() {
        return img;
    }

    public String getName() {
        return name;
    }

    public int getTypeId() {
        return typeId;
    }

    public int getId() {
        return id;
    }

    public String getDesc() {
        return desc;
    }

}
